package org.kca.yarmour.view;

public interface MouseAccess
{
    /**
     * Gets the mouse x-coordinate in the coordinate frame of the implementing class
     * @return the x-coordinate of the mouse
     */
    public int getMouseX();
    
    /**
     * Gets the mouse y-coordinate in the coordinate frame of the implementing class
     * @return the y-coordinate of the mouse
     */
    public int getMouseY();
    
    /**
     * Checks if the specified mouse button is down
     * @param button the mouse button
     * @return true if it is down, false otherwise
     */
    public boolean isMouseButtonDown(int button);
}
